
import server from './server.js';
import url from './serverAPI.config.js';

//接口1方法
export function histOpen(urldata,data){
  return server({
    method: 'post',
    url: url.histOpen+urldata,
    dataType: "json",
    contentType: "application/x-www-form-urlencoded;charset=UTF-8",
    data: data
  })
}

//接口2方法
export function histdata(urldata,data){
  return server({
    url: url.histdata+urldata,
    method: 'post',
    dataType: "json",
    contentType: "application/x-www-form-urlencoded;charset=UTF-8",
    data: data
  })
}

